package ua.com.alus.resvac.crm.services.spring;

import org.springframework.security.access.annotation.Secured;
import ua.com.alus.resvac.crm.domen.entities.Vacancy;

import java.util.List;

/**
 * Vacancy Service
 * <p/>
 * Created by Usatov Alexey
 */
public interface VacancyService {
    @Secured("ROLE_VACANCY")
    void saveVacancy(Vacancy vacancy);

    Vacancy getVacancy(String vacancyUuid);

    List<Vacancy> getVacancies(String accountUuid);

    @Secured("ROLE_VACANCY")
    void deleteVacancyFile(String uuid);

    List<String> getVacancyFilesUuid(String vacancyUuid);
}
